package com.common.utils.abs;

import java.util.List;

public interface BaseMapper<E, C extends DaoCondition> {
    List<E> selectByCondition(C daoCondition);

    List<E> selectById(C daoCondition);
    List<E> selectAll();
    int insert(E entity);
    int updateById(E entity);
}
